package com.inspection.support.model;

import com.inspection.entity.InspectionRegulationDO;
import lombok.*;
import org.springframework.lang.NonNullApi;

import java.util.List;

/**
 * @author zhaoqi
 * @since 2020-11-14
 */
@Data
public class DataTree {

    private String treeName;

    private TreeNode rootNode;

    @Getter
    @Setter
    @AllArgsConstructor
    @NoArgsConstructor
    public static class TreeNode extends InspectionRegulationDO {


        private List<TreeNode>  children;

    }
}
